* {
  margin: 0;
  padding: 0;
}
@keyframes insetp {
  0% {
    bottom: -10%;
  }
  65% {
    bottom: 90%;
  }
  70% {
    bottom: 80%;
  }
  75% {
    bottom: 88%;
  }
  80% {
    bottom: 80%;
  }
  85% {
    bottom: 85%;
  }
  90% {
    bottom: 80%;
  }
  95% {
    bottom: 82%;
  }
  100% {
    bottom: 80%;
  }
}
body {
  display: flex;
  height: 105vh;
  background-image: linear-gradient(to right, #ff9569 0%, #e92758 100%);
  justify-content: center;
  align-items: center;
}
body .search-btn {
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  background-color: #fff;
  cursor: pointer;
}
body .search-btn .iconfont {
  font-size: 24px;
}
body .cover {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.4);
  transition: dispaly 0.5s;
}
body .cover .search {
  position: fixed;
  display: flex;
  left: 50%;
  transform: translateX(-50%);
  height: 50px;
  background-color: #fff;
  border-radius: 50px;
  animation: insetp 1.5s ease-out forwards;
}
body .cover .search input {
  width: 500px;
  outline: none;
  border: 0;
  border-radius: 50px;
  padding: 0 25px;
  font-size: 20px;
}
body .cover.active {
  display: block;
}
